//
//  HealthCell.m
//  SHHCPhone
//
//  Created by gfsh on 14-6-23.
//  Copyright (c) 2014年 sheng long. All rights reserved.
//

#import "HealthCell.h"

@implementation HealthCell

- (id)initWithStyle:(UITableViewCellStyle)style reuseIdentifier:(NSString *)reuseIdentifier
{
    self = [super initWithStyle:style reuseIdentifier:reuseIdentifier];
    if (self) {
        self.backgroundColor = [UIColor clearColor];

        _bg = [[UIView alloc]initWithFrame:CGRectZero];
        _topicIV = [[UIImageView alloc]initWithFrame:CGRectZero];
        _topicLab = [[UILabel alloc]initWithFrame:CGRectZero];
        _topicLab.textAlignment = NSTextAlignmentLeft;
        _topicLab.textColor = GET_COLOR(@"3e3e3e");
        _topicLab.font = [UIFont systemFontOfSize:14];
        _timeLab = [[UILabel alloc]initWithFrame:CGRectZero];
        _timeLab.textAlignment = NSTextAlignmentLeft;
        _timeLab.textColor = [UIColor lightGrayColor];
        _timeLab.font = [UIFont systemFontOfSize:13];
        
        [_bg addSubview:_topicIV];
        [_bg addSubview:_topicLab];
        [_bg addSubview:_timeLab];
        [self.contentView addSubview:_bg];
    }
    return self;
}


@end
